<template>
    <header class="header has-background-white has-text-black">
        <b-navbar
                :fixed-top="true"
                class="container is-white"
        >
            <template slot="brand">
                <b-navbar-item tag="div">
                    <img :src="doubaoImg" alt="logo">
                </b-navbar-item>
            </template>
            <template slot="start">
                <b-navbar-item
                        :to="{ path: '/' }"
                        tag="router-link"
                >
                    首页
                </b-navbar-item>
            </template>
        </b-navbar>
    </header>
</template>

<script>
export default {
    data() {
        return {
            doubaoImg: require('@/assets/image/doubao.png'),
        }
    },
}
</script>

<style scoped>

</style>
